package com.miku.blog.mapper;

import com.miku.blog.domain.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Miku
* @description 针对表【tb_tag】的数据库操作Mapper
* @createDate 2022-05-26 19:01:03
* @Entity com.miku.blog.domain.Tag
*/
public interface TagMapper extends BaseMapper<Tag> {

    /**
     * 获取指定文章ID 下的 文章标签
     *
     * SELECT DISTINCT
     * @return
     */
    public List<Tag> getTagListByArticleId(@Param("articleId") Integer articleId);

}




